package com.ruoyi.web.domain;

    import java.util.Date;

    import com.baomidou.mybatisplus.annotation.FieldFill;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableName;
    import com.fasterxml.jackson.annotation.JsonFormat;
    import com.ruoyi.common.annotation.Excel;
    import lombok.Data;
    import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 签到奖励对象 sign_in_reward
 *
 * @author jiwei
 * @date 2024-05-12
 */
@Data
@TableName("sign_in_reward")
public class SignInReward {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 奖励描述
     */
    @Excel(name = "奖励描述")
    private String description;

    /**
     * 连续签到天数
     */
    @Excel(name = "连续签到天数")
    private Long rule;

    /**
     * 奖励值
     */
    @Excel(name = "奖励值")
    private String val;

    /**
     * 奖励类型
     */
    @Excel(name = "奖励类型")
    private Long type;

    /**
     * 开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间" , width = 30, dateFormat = "yyyy-MM-dd")
    private Date beginAt;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(fill = FieldFill.INSERT)
    private Date createAt;

    /**
     * 创建者
     */
    @Excel(name = "创建者")
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间" , width = 30, dateFormat = "yyyy-MM-dd")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;
    /**
     * 更新者
     */
    @Excel(name = "更新者")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

}